<?xml version="1.0" encoding="utf-8"?>
<ResourceDictionary
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"
  xmlns:sys="clr-namespace:System;assembly=mscorlib"
  xmlns:guiHelper="clr-namespace:DentalGUIHelper;assembly=DentalConfig">

  <sys:Double x:Key="DisabledOpacity">0.5</sys:Double>
  <sys:Double x:Key="DisabledOpacityForTreatmentWatchdog">0.5</sys:Double>

  <SolidColorBrush x:Key="ValidationErrorBrush" Color="{StaticResource ValidationErrorColor}" po:Freeze="True"/>
  <SolidColorBrush x:Key="PositiveFeedbackBrush" Color="{StaticResource PositiveFeedbackColor}" po:Freeze="True"/>
  <SolidColorBrush x:Key="UnreadBrush" Color="{StaticResource UnreadColor}" po:Freeze="True"/>

  <Color x:Key="MaterialDesignColorLightBackground">#FFFAFAFA</Color>
  <Color x:Key="MaterialDesignColorLightForeground">#DD000000</Color>
  <Color x:Key="MaterialDesignColorDarkBackground">#FF303030</Color>
  <Color x:Key="MaterialDesignColorDarkForeground">#FFFAFAFA</Color>

  <SolidColorBrush x:Key="MaterialDesignLightBackground" Color="{StaticResource MaterialDesignColorLightBackground}"/>
  <SolidColorBrush x:Key="MaterialDesignLightForeground" Color="{StaticResource MaterialDesignColorLightForeground}"/>
  <SolidColorBrush x:Key="MaterialDesignDarkBackground" Color="{StaticResource MaterialDesignColorDarkBackground}"/>
  <SolidColorBrush x:Key="MaterialDesignDarkForeground" Color="{StaticResource MaterialDesignColorDarkForeground}"/>

  <SolidColorBrush x:Key="MaterialDesignBackground" Color="{StaticResource MaterialDesignColorBackground}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignPaper" Color="{StaticResource MaterialDesignColorPaper}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignCardBackground" Color="{StaticResource MaterialDesignColorCardBackground}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignToolBarBackground" Color="{StaticResource MaterialDesignColorToolBarBackground}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignBody" Color="{StaticResource MaterialDesignColorBody}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignBodyLight" Color="{StaticResource MaterialDesignColorBodyLight}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignColumnHeader" Color="{StaticResource MaterialDesignColorColumnHeader}" po:Freeze="True"/>

  <SolidColorBrush x:Key="BackgroundDentalDBLeftRight" Color="{DynamicResource MaterialDesignColorPaper}"/>
  <SolidColorBrush x:Key="BackgroundDentalDBCenter" Color="{DynamicResource MaterialDesignColorBackground}"/>
  <StaticResource x:Key="Background1" ResourceKey="MaterialDesignColorToolBarBackground"/>
  <StaticResource x:Key="Background2" ResourceKey="MaterialDesignColorBackground"/>
  <StaticResource x:Key="Background3" ResourceKey="MaterialDesignColorPaper"/>
  <StaticResource x:Key="WindowCommandButtonDentalDBColor" ResourceKey="MaterialDesignColorBody"/>
  <SolidColorBrush x:Key="MaterialLabelForegroundBrush" Color="{DynamicResource MaterialDesignColorBody}" />
  <SolidColorBrush x:Key="MaterialLabelBackgroundBrush" Color="{DynamicResource ImplantSelectionPopupItemLabelColorBackground}" />
  <SolidColorBrush x:Key="ImplantSelectionPopupItemLabelBackground" Color="{DynamicResource ImplantSelectionPopupItemLabelColorBackground}"/>

  <SolidColorBrush x:Key="DentalshareUploadDialogColumn1Brush" Color="{StaticResource DentalshareUploadDialogColumn1Color}"/>
  <SolidColorBrush x:Key="DentalshareUploadDialogColumn2Brush" Color="{StaticResource DentalshareUploadDialogColumn2Color}"/>
  <SolidColorBrush x:Key="DentalshareUploadDialogColumn3Brush" Color="{StaticResource DentalshareUploadDialogColumn3Color}"/>
  <SolidColorBrush x:Key="DentalshareCommentsForeground" Color="{DynamicResource MaterialDesignColorBody}"/>
  <SolidColorBrush x:Key="DentalshareUploasWelcomeTitleBrush" Color="{DynamicResource Primary500Foreground}" />
  <SolidColorBrush x:Key="DentalshareUploasWelcomeUserBrush" Color="{DynamicResource Primary500Foreground}" />
  <SolidColorBrush x:Key="DentalshareUploadDialogServiceHintBrush" Color="{DynamicResource Primary500Foreground}" Opacity="0.7" />
  <SolidColorBrush x:Key="DentalShareUserImageBackgroundBrush" Color="{DynamicResource Primary50}" />

  <Color x:Key="Dentalshare.Status.UploadStatus.InProgress">#f49250</Color>
  <Color x:Key="Dentalshare.Status.UploadStatus.Completed">#a7f17f</Color>
  <Color x:Key="Dentalshare.Status.UploadStatus.ReceiptRecieved">#0a9900</Color>
  <Color x:Key="Dentalshare.Status.ColorOK">#a7f17f</Color>
  <Color x:Key="Dentalshare.Status.ColorInProgress">#f49250</Color>
  <SolidColorBrush x:Key="Dentalshare.Status.Arrow" Color="{DynamicResource Dentalshare.Status.ArrowColor}" />
  <SolidColorBrush x:Key="ProcessStepDefaultForegroundBrush" Color="{DynamicResource Dentalshare.Status.DefaultColor}" />

  <SolidColorBrush x:Key="MaterialDesignDivider" Color="{StaticResource MaterialDesignColorDivider}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignSelection" Color="{StaticResource MaterialDesignColorSelection}" po:Freeze="True"/>

  <SolidColorBrush x:Key="MaterialDesignFlatButtonClick" Color="{StaticResource MaterialDesignColorFlatButtonClick}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignFlatButtonRipple" Color="{StaticResource MaterialDesignColorFlatButtonRipple}" po:Freeze="True"/>
  <SolidColorBrush x:Key="ColoredContentAndTextButtonMouseOverBrush" Color="{StaticResource MaterialDesignColorFlatButtonClick}" po:Freeze="True"/>

  <SolidColorBrush x:Key="MaterialDesignToolTip" Color="{StaticResource MaterialDesignColorToolTip}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignToolTipBackground" Color="{StaticResource MaterialDesignColorToolTipBackground}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignChipBackground" Color="{StaticResource MaterialDesignColorChipBackground}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignChipDeleteBackground" Color="{StaticResource MaterialDesignColorChipDeleteBackground}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignChipDeleteForeground" Color="{StaticResource MaterialDesignColorChipDeleteForeground}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignSnackbarBackground" Color="{StaticResource MaterialDesignColorSnackbarBackground}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignSnackbarMouseOver" Color="{StaticResource MaterialDesignColorSnackbarMouseOver}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignSnackbarRipple" Color="{StaticResource MaterialDesignColorSnackbarRipple}" po:Freeze="True"/>

  <SolidColorBrush x:Key="MaterialDesignZebraBackground" Color="{StaticResource MaterialDesignColorZebraBackground}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignComboBoxBackground" Color="{StaticResource MaterialDesignColorComboBoxBackground}" po:Freeze="True"/>

  <SolidColorBrush x:Key="MaterialDesignTextBoxBorder" Color="{Binding Source={StaticResource MaterialDesignBody}, Path=Color}" Opacity="0.53" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignLightStroke" Color="{Binding Source={StaticResource MaterialDesignBody}, Path=Color}" Opacity="0.23" po:Freeze="True"/>

  <SolidColorBrush x:Key="MaterialDesignContextMenuBackground" Color="{StaticResource MaterialDesignColorPaper}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignContextMenuForeground" Color="{StaticResource MaterialDesignColorBody}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignContextMenuSelectedBackground" Color="{StaticResource MaterialDesignColorBody}" Opacity="0.1" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignContextMenuSelectedForeground" Color="{StaticResource MaterialDesignColorBody}" po:Freeze="True"/>
  <SolidColorBrush x:Key="MaterialDesignContextMenuCheckedBackground" Color="{StaticResource Accent500}" Opacity="0.2" po:Freeze="True"/>

  <SolidColorBrush x:Key="MidContrastPrimaryBrush" Color="{StaticResource MidContrastPrimary}"/>
  <SolidColorBrush x:Key="MidContrastPrimaryForegroundBrush" Color="{StaticResource MidContrastPrimaryForeground}"/>
  <SolidColorBrush x:Key="HighContrastPrimaryBrush" Color="{StaticResource HighContrastPrimary}"/>
  <SolidColorBrush x:Key="HighContrastPrimaryForegroundBrush" Color="{StaticResource HighContrastPrimaryForeground}"/>

  <SolidColorBrush x:Key="AccentHighlightBrush" Color="{StaticResource Accent500}" Opacity="0.2"/>

  <!--<Grid x:Key="MainWindowBackground" Background="{StaticResource SceneBackgroundBrush}">
    <Image Source="{guiHelper:Icon BackgroundImage}" Stretch="None" HorizontalAlignment="Right" VerticalAlignment="Bottom"/>
  </Grid>-->
</ResourceDictionary>
